<?php
/**
 * Created by PhpStorm.
 * User: shenyvlin
 * Date: 2019/2/26
 * Time: 15:27
 * 会员验证规则
 */
namespace app\api\validate;
use think\validate;
class Sms extends Validate{
    protected $rule = [
        'mobile' => 'require|length:11',
    ];

    protected $message = [
        'mobile.require' => '请输入手机号',
        'mobile.length' => '手机号格式错误',
    ];

}